package com.inspur.cloud.entity.dataspace.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "Yarn 总体信息对象")
public class YarnTotalDTO {
    @ApiModelProperty(value = "队列占比")
    private double capacity;
    @ApiModelProperty(value = "总内存MB")
    private Long totalMemory = 0L;
    @ApiModelProperty(value = "已用内存MB")
    private Long usedMemory = 0L;
    @ApiModelProperty(value = "剩余内存MB")
    private Long unusedMemory = 0L;
    @ApiModelProperty(value = "CPU总核数")
    private Integer totalCore;
    @ApiModelProperty(value = "CPU已用核数")
    private Integer usedCore;
    @ApiModelProperty(value = "CPU剩余核数")
    private Integer unusedCore;
}
